package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.entity.SysEnterprise;
import com.ruoyi.system.mapper.SysEnterpriseMapper;
import com.ruoyi.system.service.ISysEnterpriseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author LANIAKEA
 * @version 1.0
 * @date 2024/11/14
 */
@Service
public class SysEnterpriseServiceImpl implements ISysEnterpriseService {
    private SysEnterpriseMapper sysEnterpriseMapper;

    @Autowired
    public SysEnterpriseServiceImpl(SysEnterpriseMapper sysEnterpriseMapper) {
        this.sysEnterpriseMapper = sysEnterpriseMapper;
    }

    @Override
    public SysEnterprise selectSysEnterpriseByCorpid(String corpid) {
        return
                this.sysEnterpriseMapper.selectSysEnterpriseByCorpid(corpid);

    }
}
